<template>
  <el-dialog title="提示" :visible="value" width="30%">
    <h1>弹框</h1>
    <template #footer>
      <el-button @click="$emit('input', false)">取 消</el-button>
      <el-button type="primary">确 定</el-button>
    </template>
  </el-dialog>
</template>

<script>
export default {
  props: ['value'],
  data() {
    return {}
  }
}
</script>

<style></style>
